package com.jiezhuo.service;

import com.jiezhuo.dto.SensorHistoryDataDTO;
import com.jiezhuo.entity.IotHistorySensorData;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;
import java.util.Map;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author com.jiezhuo
 * @since 2022-10-19
 */
public interface IotHistorySensorDataService extends IService<IotHistorySensorData> {

    List<Map<String,Object>> historyData(SensorHistoryDataDTO sensorHistoryDataDTO);

    List<Map<String,Object>> getSensorByScene(Integer id);

    Integer historyDataCount(SensorHistoryDataDTO sensorHistoryDataDTO);

    List<Map<String,Object>> sensorInfo(Integer id);
}
